<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>context list</title>
</head>
<body>
<div class="wall">
<a class="btn btn-primary" href="${ctx}/gtd/context/new"><i class="icon-plus icon-white"></i>增加</a>

 
</div>
<table class="table bordered-table">
	<caption>上下文(contexts)</caption>
	<thead>
	<tr>
	<td >ID</td>
	<td>名称</td>
	<td>描述</td>
	<td>操作</td>
	</tr>
	</thead>
	<tbody>
	<c:forEach var="gtdContext" items="${ gtdContextList}">
	<tr>
		<td>${gtdContext.id}</td>
		<td>${gtdContext.name}</td>
		<td>${gtdContext.description}</td>
		<td><a href="${ctx}/gtd/context/show/${gtdContext.id}"><i class="icon-edit"></i>编辑</a></td>
	</tr>
	</c:forEach>
		
	</tbody>
</table>
</body>
</html>